package tetris;

import static org.junit.Assert.*;

import java.awt.Component;

import org.junit.Test;

public class GameTest {

	@Test
	public void testGame() {
		Game game = new Game();
		String score = game.getTitle();
		
		assertTrue(score.equals("Tetris"));
		assertFalse(game.isResizable());
		assertTrue(game.isVisible());
		
		   
			}

	@Test
	public void testStartGame() {
		Game game = new Game();
		assertTrue(game.isVisible());
		//Component c;
		//boolean n = game.setLocationRelativeTo(c);
	//	assertNull(n);
	//fail("Not yet implemented");
	}

	@Test
	public void testViewHscores() {
		/*Game game = new Game();   
		String name = game.toString();
		assertTrue(name.equals("HIGH SCORES")); */
		 fail("Not yet implemented");
	}

	@Test
	public void testQuitGame() {
		fail("Not yet implemented");
	}
	
	@Test
	public void testMain() {
		Game game = new Game();
		assertTrue(game.isVisible());
	//	fail("Not yet implemented");
	}

	@Test
	public void testPaintGraphics() {
		fail("Not yet implemented");
	}

	@Test
	public void testDraw() {
		
		//fail("Not yet implemented");
	}

}
